* {
  margin: 0;
  padding: 0;
}
// body {
//   overflow: hidden;
//   -ms-overflow-style: none;
//   scrollbar-width: none;
//   touch-action: none;
//   background: linear-gradient(to right, #34a4f9, #9b59b6, #34a4f9);
//   background-size: 500% 500%;
//   animation: gradientBG 10s ease infinite;
//   @keyframes gradientBG {
//     0% {
//       background-position: 0% 50%;
//     }
//     50% {
//       background-position: 100% 50%;
//     }
//     100% {
//       background-position: 0% 50%;
//     }
//   }
// }
.login-container {
  width: 100%;
  min-width: 1600px;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  touch-action: none;
  background: linear-gradient(to right, #34a4f9, #9b59b6, #34a4f9);
  background-size: 500% 500%;
  animation: gradientBG 10s ease infinite;
  @keyframes gradientBG {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .login-box {
    width: 14.25rem;
    height: 9.5rem;
    min-width: 1100px;
    min-height: 700px;
    margin: 0 auto;
    margin-top: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
    background-color: #fff;
    display: flex;
    justify-content: left;
    //设置透明度
    .login-title {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }
    .logo-box {
      width: 45%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-image: url('../public/logo-box-img.jpg');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center center;
      box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
      position: relative;

      .logo {
        width: 10rem;
        height: 10rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        position: absolute;
        top: 1.5rem;
      }
      .logo-title {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        position: absolute;
        top: 10rem;
      }
    }
    .form-box {
      width: calc(100% - 45%);
      height: 100%;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .title-box {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
      }
      .code {
        height: 100%;
        margin-left: 10px;
      }
    }
  }
}
